Javascript store in localStorage

63

localstorage js -

// Set
localStorage.setItem('monChat', 'Tom');

// Get
localStorage.getItem('myCat');

// Remove
localStorage.removeItem('myCat');

Comments

Submit
0 Comments